package com.ruoyi.project.largeScreen.service.impl;

import com.ruoyi.project.largeScreen.domain.DeviceInfo;
import com.ruoyi.project.largeScreen.domain.MonitorInfoBaseOnDevice;
import com.ruoyi.project.largeScreen.domain.MonitorInfoBaseOnMonitor;
import com.ruoyi.project.largeScreen.domain.OriginMsg;
import com.ruoyi.project.largeScreen.mapper.LargeScreenMapper;
import com.ruoyi.project.largeScreen.service.LargeScreenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class LargeScreenServiceImpl implements LargeScreenService {
    @Autowired
    private LargeScreenMapper largeScreenMapper;
    
    @Override
    public List<MonitorInfoBaseOnDevice> getMonitorInfoListBaseOnDevice() {
        return largeScreenMapper.getMonitorInfoListBaseOnDevice();
    }

    @Override
    public List<MonitorInfoBaseOnMonitor> getMonitorInfoListBaseOnMonitor() {
        return largeScreenMapper.getMonitorInfoListBaseOnMonitor();
    }

    @Override
    public List<DeviceInfo> getDeviceInfoList() {
        return largeScreenMapper.getDeviceInfoList();
    }

    @Override
    public List<OriginMsg> getOriginMsgList(Date startDate, Date endDate) {
        return largeScreenMapper.getOriginMsgList(startDate,endDate);
    }
}
